import gradio as gr
import detect_plate

def process_data(name,age,image):
    return f"Name:{name},Age:{age}",image

iface = gr.Interface(
    fn=process_data,
    inputs=[gr.Textbox(label="Name"),gr.Slider(label="Age"),gr.Image(type="numpy",label="Image")],
    outputs=["text","image"]

)
iface.launch()